{template 'common/header'}
<style>
	body{
	font:{$_W['styles']['fontsize']} {$_W['styles']['fontfamily']};
	color:{$_W['styles']['fontcolor']};
	padding:0;
	margin:0;
	background-size:cover;
	background-color:{if empty($_W['styles']['indexbgcolor'])}#ECECEC{else}{$_W['styles']['indexbgcolor']}{/if};
	{$_W['styles']['indexbgextra']}
	}
	a{color:{$_W['styles']['linkcolor']}; text-decoration:none;}
	{$_W['styles']['css']}
	.box{width:100%;padding-top:60%; background:url('{if empty($_W['styles']['indexbgimg'])}./themes/style36/images/bg_index.jpg{else}{$_W['styles']['indexbgimg']}{/if}'); background-size:cover;}
	.box .box2{float:left; display:block; width:33.3%; height:100px; }
	.box .box-item{display:block; text-decoration:none; outline:none; width:90px; height:90px; margin:5px auto; color:#FFF; border-radius:50%; background:#333; padding:10px; overflow:hidden;}
	.box-item.darkblue{background:rgba(24,155,234,0.9); opacity:0.8;}
	.box-item.blue{background: rgba(92,188,242,0.9); opacity:0.8;}
	.box .box-item i{display:block; height:60%; line-height:100%; font-size:35px; color:#FFF; overflow:hidden; text-align:center; padding-top:5px;}
	.box .box-item img{display:block; height:40px; margin:0 auto;}
	.box .box-item span{color:{$_W['styles']['fontnavcolor']};display:block; height:20px; line-height:20px; font-size:14px; width:98%; text-align:center; overflow:hidden;}

	.bar{height:40px; line-height:40px; background-color:#38b3f4; border-bottom:#2d8fc3 solid 1px; padding: 0 15px; margin-bottom:15px;}
	.bar a{color:#ffffff; text-decoration:none; display:block; width:100%; text-align:center;}
	.bar a span{color:{$_W['styles']['fontnavcolor']};}
	.bar i{font-size:20px;}
	.column,.column li{padding:0px ;margin:0px; list-style:none;}
	.column{margin:4.4% 3.45%;}
	.column li{background:rgba(255,255,255,0.9); border-bottom:#e0e0e0 solid 1px; box-shadow:0 0 0.2em rgba(0,0,0,0.1);}
	.column li a{ display:block; height:55px; line-height:55px; border-left:#fff solid 0.26em; font-weight:bold; color:{if empty($_W['styles']['fontnavcolor'])}#727071{else}{$_W['styles']['fontnavcolor']}{/if};padding:0 15px; text-decoration:none;}
	.column li a:hover{border-left:#097a97 solid 0.26em; color:#097a97;}
	.column li a i{color:#D2D2D3;}
</style>
<div class="box clearfix">
	{php $num = 1;}
	{loop $navs $nav}
	<div class="box2">
		<a href="{$nav['url']}" class="box-item {if $num%2}darkblue{else}blue{/if}">
			{if !empty($nav['icon'])}
			<img src="{$_W['attachurl']}{$nav['icon']}">
			{else}
			<i class="fa {$nav['css']['icon']['icon']}" style="{$nav['css']['icon']['style']}"></i>
			{/if}
			<span style="{$nav['css']['name']}" title="{$nav['name']}">{$nav['name']}</span>
		</a>
	</div>
	{php $num++;}
	{/loop}
</div>
<div class="bar clearfix">
	{php $num = 1;}
	{loop $navs $nav}
	<a href="{$nav['url']}" class="box-item">
		<span style="{$nav['css']['name']}" title="{$nav['name']}">{$nav['name']}</span>
	</a>
	{php $num++; if($num>1) break;}
	{/loop}
</div>
<ul class="column">{php $num = 1;}
	{loop $navs $nav}
	<li><a href="{$nav['url']}"><span style="{$row['css']['name']}" title="{$row['name']}">{$row['name']}</span><span class="pull-right"><i class="fa fa-chevron-right"></i></span></a></li>
	{/loop}{php $num++; if($num>4) break;}
</ul>
{template 'common/footer'}